package com.dt76.smallloanbackenduser.hystrix.zjs;

import com.dt76.smallloanbackenduser.pojo.zjs.BlackUser;
import com.dt76.smallloanbackenduser.remote.zjs.BlackUserRemote;
import com.dt76.smallloanbackenduser.utils.Page;
import com.dt76.smallloanbackenduser.utils.Result;
import org.springframework.stereotype.Component;

import java.util.ArrayList;
import java.util.List;

@Component
public class BlackUserRemoteHystrix implements BlackUserRemote {

    @Override
    public List<BlackUser> qryAllBlackUser() {

        System.out.println("熔断机制生效");
        return new ArrayList<>();
    }

    @Override
    public Page qryPageAllBlackUser(int pageIndex, String queryname, int userId) {
        System.out.println("熔断机制生效");
        return new Page();
    }

    @Override
    public Result delBlackUser(int userId) {
        return new Result();
    }


}
